package com.example.ilvuuz.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class Post {
    private Integer postId;
    private Integer userId;
    private String title;
    private String avatar;
    private String videoUrl;
    private Integer cateId;
    private LocalDateTime createdtime;
    private LocalDateTime updatetime;
    // 关联属性
    private User user;
    private PostCategory category;
} 